package com.bit.strongbaby;

import java.text.AttributedCharacterIterator.Attribute;

import org.apache.http.client.CircularRedirectException;

import android.R.color;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.RectF;
import android.util.AttributeSet;
import android.view.View;

public class Mainani extends View{
	
	Paint paint_color = new Paint();
	Paint paint_color2 = new Paint();
	
	public Mainani(Context context) {
		super(context);
	}
	public Mainani(Context context, AttributeSet attrs){
		super(context, attrs);
	}
	public Mainani(Context context, AttributeSet attrs, int defStyleAttr){
		super(context, attrs, defStyleAttr);
	}
	public void onDraw(Canvas canvas){
		  paint_color.setColor(Color.WHITE);
		  paint_color2.setColor(Color.parseColor("#96fac8"));
		  
	      int centerX = getWidth() / 2;
	      int centerY = getHeight() / 2;
	      int size = 300;
	      
	      float x = centerX -(size/2);
	      float y = centerY - (size/2);
	     
	      float outerSize = size;
	      float innerSize = outerSize / 2;
	      
	      RectF oval = new RectF(x,y,x+outerSize, y+outerSize);
	      
	      Paint pntCicle = new Paint();

	      canvas.drawCircle(244, 335, 45, paint_color);
	      canvas.drawCircle(411, 335, 45, paint_color);
	      canvas.drawCircle(411, 335, 25, paint_color2);
	      canvas.drawCircle(244, 335, 25, paint_color2);
	   
	}


}
